Loading CHANGES +12 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,18 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 1999] *) Modify X509_TRUST and X509_PURPOSE so it also uses a static and dynamic mix. In both cases the ids can be used as an index into the table. Also modified the X509_TRUST_add() and X509_PURPOSE_add() functions so they accept a list of the field values and the application doesn't need to directly manipulate the X509_TRUST structure. [Steve Henson] *) Modify the ASN1_STRING_TABLE stuff so it also uses bsearch and doesn't need initialising. [Steve Henson] *) Modify the way the V3 extension code looks up extensions. This now works in a similar way to the object code: we have some "standard" extensions in a static table which is searched with OBJ_bsearch() Loading apps/req.c +0 −1 Original line number Diff line number Diff line Loading @@ -843,7 +843,6 @@ end: X509_REQ_free(req); X509_free(x509ss); OBJ_cleanup(); ASN1_STRING_TABLE_cleanup(); #ifndef NO_DSA if (dsa_params != NULL) DSA_free(dsa_params); #endif Loading apps/s_client.c +0 −1 Original line number Diff line number Diff line Loading @@ -740,7 +740,6 @@ end: if (ctx != NULL) SSL_CTX_free(ctx); if (cbuf != NULL) { memset(cbuf,0,BUFSIZZ); Free(cbuf); } if (sbuf != NULL) { memset(sbuf,0,BUFSIZZ); Free(sbuf); } X509_cleanup(); if (bio_c_out != NULL) { BIO_free(bio_c_out); Loading apps/s_server.c +0 −1 Original line number Diff line number Diff line Loading @@ -718,7 +718,6 @@ bad: ret=0; end: if (ctx != NULL) SSL_CTX_free(ctx); X509_cleanup(); if (bio_s_out != NULL) { BIO_free(bio_s_out); Loading apps/verify.c +0 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,6 @@ int MAIN(int argc, char **argv) X509_STORE *cert_ctx=NULL; X509_LOOKUP *lookup=NULL; X509_init(); cert_ctx=X509_STORE_new(); if (cert_ctx == NULL) goto end; X509_STORE_set_verify_cb_func(cert_ctx,cb); Loading Loading @@ -196,7 +195,6 @@ end: } if (cert_ctx != NULL) X509_STORE_free(cert_ctx); sk_X509_pop_free(untrusted, X509_free); X509_cleanup(); EXIT(ret); } Loading Loading
CHANGES +12 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,18 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 1999] *) Modify X509_TRUST and X509_PURPOSE so it also uses a static and dynamic mix. In both cases the ids can be used as an index into the table. Also modified the X509_TRUST_add() and X509_PURPOSE_add() functions so they accept a list of the field values and the application doesn't need to directly manipulate the X509_TRUST structure. [Steve Henson] *) Modify the ASN1_STRING_TABLE stuff so it also uses bsearch and doesn't need initialising. [Steve Henson] *) Modify the way the V3 extension code looks up extensions. This now works in a similar way to the object code: we have some "standard" extensions in a static table which is searched with OBJ_bsearch() Loading
apps/req.c +0 −1 Original line number Diff line number Diff line Loading @@ -843,7 +843,6 @@ end: X509_REQ_free(req); X509_free(x509ss); OBJ_cleanup(); ASN1_STRING_TABLE_cleanup(); #ifndef NO_DSA if (dsa_params != NULL) DSA_free(dsa_params); #endif Loading
apps/s_client.c +0 −1 Original line number Diff line number Diff line Loading @@ -740,7 +740,6 @@ end: if (ctx != NULL) SSL_CTX_free(ctx); if (cbuf != NULL) { memset(cbuf,0,BUFSIZZ); Free(cbuf); } if (sbuf != NULL) { memset(sbuf,0,BUFSIZZ); Free(sbuf); } X509_cleanup(); if (bio_c_out != NULL) { BIO_free(bio_c_out); Loading
apps/s_server.c +0 −1 Original line number Diff line number Diff line Loading @@ -718,7 +718,6 @@ bad: ret=0; end: if (ctx != NULL) SSL_CTX_free(ctx); X509_cleanup(); if (bio_s_out != NULL) { BIO_free(bio_s_out); Loading
apps/verify.c +0 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,6 @@ int MAIN(int argc, char **argv) X509_STORE *cert_ctx=NULL; X509_LOOKUP *lookup=NULL; X509_init(); cert_ctx=X509_STORE_new(); if (cert_ctx == NULL) goto end; X509_STORE_set_verify_cb_func(cert_ctx,cb); Loading Loading @@ -196,7 +195,6 @@ end: } if (cert_ctx != NULL) X509_STORE_free(cert_ctx); sk_X509_pop_free(untrusted, X509_free); X509_cleanup(); EXIT(ret); } Loading