Changeset 2b3a248 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Dec 16, 2007, 4:04:11 AM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
e6f648a
Parents:
8bd529f
git-author:
Nikos Mavrogiannopoulos <nmav@…> (12/16/07 04:04:11)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (12/16/07 04:04:11)
Message:

more changes for openpgp support. Seems to be at a workable state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r8bd529f r2b3a248  
    11/**
    22 *  Copyright 2004-2005 Paul Querna
     3 *  Copyright 2007 Nikos Mavrogiannopoulos
    34 *
    45 *  Licensed under the Apache License, Version 2.0 (the "License");
     
    230231    }
    231232     
    232 
    233233    ret =
    234234        gnutls_openpgp_crt_import(sc->cert_pgp, &data, GNUTLS_OPENPGP_FMT_BASE64);
     
    451451    }
    452452
     453    rv = gnutls_openpgp_keyring_init(&sc->pgp_list);
     454    if (rv < 0) {
     455        return apr_psprintf(parms->pool, "GnuTLS: Failed to initialize"
     456                            "keyring: (%d) %s", rv, gnutls_strerror(rv));
     457    }
     458
    453459    rv = gnutls_openpgp_keyring_import(sc->pgp_list, &data, GNUTLS_OPENPGP_FMT_BASE64);
    454460    if (rv < 0) {
Note: See TracChangeset for help on using the changeset viewer.