"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ssl/t1_lib.c" between
openssl-1.1.1f.tar.gz and openssl-1.1.1g.tar.gz

About: OpenSSL is a toolkit implementing the Transport Layer Security (TLS) protocols (including SSLv3) as well as a full-strength general purpose cryptographic library. Long Term Support (LTS) version (includes support for TLSv1.3).

t1_lib.c  (openssl-1.1.1f):t1_lib.c  (openssl-1.1.1g)
skipping to change at line 2133 skipping to change at line 2133
*/ */
sigalgslen = s->s3->tmp.peer_cert_sigalgslen; sigalgslen = s->s3->tmp.peer_cert_sigalgslen;
use_pc_sigalgs = 1; use_pc_sigalgs = 1;
} else { } else {
sigalgslen = s->shared_sigalgslen; sigalgslen = s->shared_sigalgslen;
} }
for (i = 0; i < sigalgslen; i++) { for (i = 0; i < sigalgslen; i++) {
sigalg = use_pc_sigalgs sigalg = use_pc_sigalgs
? tls1_lookup_sigalg(s->s3->tmp.peer_cert_sigalgs[i]) ? tls1_lookup_sigalg(s->s3->tmp.peer_cert_sigalgs[i])
: s->shared_sigalgs[i]; : s->shared_sigalgs[i];
if (sig_nid == sigalg->sigandhash) if (sigalg != NULL && sig_nid == sigalg->sigandhash)
return 1; return 1;
} }
return 0; return 0;
} }
/* Check to see if a certificate issuer name matches list of CA names */ /* Check to see if a certificate issuer name matches list of CA names */
static int ssl_check_ca_name(STACK_OF(X509_NAME) *names, X509 *x) static int ssl_check_ca_name(STACK_OF(X509_NAME) *names, X509 *x)
{ {
X509_NAME *nm; X509_NAME *nm;
int i; int i;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)