/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
414
414
    crtverify = ctypes.c_uint();
415
415
    gnutls.library.functions.gnutls_openpgp_crt_verify_self\
416
416
        (crt, ctypes.c_uint(0), ctypes.byref(crtverify))
417
 
    if crtverify != 0:
 
417
    if crtverify.value != 0:
418
418
        gnutls.library.functions.gnutls_openpgp_crt_deinit(crt)
419
419
        raise gnutls.errors.CertificateSecurityError("Verify failed")
420
420
    # New buffer for the fingerprint