Changeset 95219 in vbox for trunk/src/libs/openssl-3.0.3/crypto/x509
- Timestamp:
- Jun 8, 2022 7:43:44 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151730
- Location:
- trunk/src/libs/openssl-3.0.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.3
- Property svn:mergeinfo
-
old new 14 14 /vendor/openssl/3.0.1:150323-150324 15 15 /vendor/openssl/3.0.2:150728-150729 16 /vendor/openssl/current:147554-150727 16 /vendor/openssl/3.0.3:151497-151729 17 /vendor/openssl/current:147554-151496
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.3/crypto/x509/v3_tlsf.c
r94320 r95219 1 1 /* 2 * Copyright 2015-202 1The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 109 109 110 110 for (j = 0; j < OSSL_NELEM(tls_feature_tbl); j++) 111 if ( strcasecmp(extval, tls_feature_tbl[j].name) == 0)111 if (OPENSSL_strcasecmp(extval, tls_feature_tbl[j].name) == 0) 112 112 break; 113 113 if (j < OSSL_NELEM(tls_feature_tbl)) -
trunk/src/libs/openssl-3.0.3/crypto/x509/v3_utl.c
r94404 r95219 350 350 goto err; 351 351 } 352 X509V3_add_value(ntmp, NULL, &values); 352 if (!X509V3_add_value(ntmp, NULL, &values)) { 353 goto err; 354 } 353 355 } 354 356 break; … … 363 365 goto err; 364 366 } 365 X509V3_add_value(ntmp, vtmp, &values); 367 if (!X509V3_add_value(ntmp, vtmp, &values)) { 368 goto err; 369 } 366 370 ntmp = NULL; 367 371 q = p + 1; … … 377 381 goto err; 378 382 } 379 X509V3_add_value(ntmp, vtmp, &values); 383 if (!X509V3_add_value(ntmp, vtmp, &values)) { 384 goto err; 385 } 380 386 } else { 381 387 ntmp = strip_spaces(q); … … 384 390 goto err; 385 391 } 386 X509V3_add_value(ntmp, NULL, &values); 392 if (!X509V3_add_value(ntmp, NULL, &values)) { 393 goto err; 394 } 387 395 } 388 396 OPENSSL_free(linebuf); … … 708 716 /* IDNA labels cannot match partial wildcards */ 709 717 if (!allow_idna && 710 subject_len >= 4 && strncasecmp((char *)subject, "xn--", 4) == 0)718 subject_len >= 4 && OPENSSL_strncasecmp((char *)subject, "xn--", 4) == 0) 711 719 return 0; 712 720 /* The wildcard may match a literal '*' */ … … 768 776 || ('0' <= p[i] && p[i] <= '9')) { 769 777 if ((state & LABEL_START) != 0 770 && len - i >= 4 && strncasecmp((char *)&p[i], "xn--", 4) == 0)778 && len - i >= 4 && OPENSSL_strncasecmp((char *)&p[i], "xn--", 4) == 0) 771 779 state |= LABEL_IDNA; 772 780 state &= ~(LABEL_HYPHEN | LABEL_START);
Note:
See TracChangeset
for help on using the changeset viewer.