Changeset 95219 in vbox for trunk/src/libs/openssl-3.0.3/apps/lib
- 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:
-
- 6 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/apps/lib/apps.c
r94404 r95219 689 689 char *pass_string; 690 690 691 if (exclude_http && ( strncasecmp(uri, "http://", 7) == 0692 || strncasecmp(uri, "https://", 8) == 0)) {691 if (exclude_http && (OPENSSL_strncasecmp(uri, "http://", 7) == 0 692 || OPENSSL_strncasecmp(uri, "https://", 8) == 0)) { 693 693 BIO_printf(bio_err, "error: HTTP retrieval not allowed for %s\n", desc); 694 694 return ret; … … 1183 1183 int set_dateopt(unsigned long *dateopt, const char *arg) 1184 1184 { 1185 if ( strcasecmp(arg, "rfc_822") == 0)1185 if (OPENSSL_strcasecmp(arg, "rfc_822") == 0) 1186 1186 *dateopt = ASN1_DTFLGS_RFC822; 1187 else if ( strcasecmp(arg, "iso_8601") == 0)1187 else if (OPENSSL_strcasecmp(arg, "iso_8601") == 0) 1188 1188 *dateopt = ASN1_DTFLGS_ISO8601; 1189 1189 return 0; … … 1192 1192 int set_ext_copy(int *copy_type, const char *arg) 1193 1193 { 1194 if ( strcasecmp(arg, "none") == 0)1194 if (OPENSSL_strcasecmp(arg, "none") == 0) 1195 1195 *copy_type = EXT_COPY_NONE; 1196 else if ( strcasecmp(arg, "copy") == 0)1196 else if (OPENSSL_strcasecmp(arg, "copy") == 0) 1197 1197 *copy_type = EXT_COPY_ADD; 1198 else if ( strcasecmp(arg, "copyall") == 0)1198 else if (OPENSSL_strcasecmp(arg, "copyall") == 0) 1199 1199 *copy_type = EXT_COPY_ALL; 1200 1200 else … … 1276 1276 1277 1277 for (ptbl = in_tbl; ptbl->name; ptbl++) { 1278 if ( strcasecmp(arg, ptbl->name) == 0) {1278 if (OPENSSL_strcasecmp(arg, ptbl->name) == 0) { 1279 1279 *flags &= ~ptbl->mask; 1280 1280 if (c) -
trunk/src/libs/openssl-3.0.3/apps/lib/engine_loader.c
r94404 r95219 72 72 OSSL_STORE_LOADER_CTX *ctx = NULL; 73 73 74 if ( strncasecmp(p, ENGINE_SCHEME_COLON, sizeof(ENGINE_SCHEME_COLON) - 1)74 if (OPENSSL_strncasecmp(p, ENGINE_SCHEME_COLON, sizeof(ENGINE_SCHEME_COLON) - 1) 75 75 != 0) 76 76 return NULL; -
trunk/src/libs/openssl-3.0.3/apps/lib/http_server.c
r94320 r95219 1 1 /* 2 * Copyright 1995-202 1The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 1995-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 … … 454 454 *line_end = '\0'; 455 455 /* https://tools.ietf.org/html/rfc7230#section-6.3 Persistence */ 456 if (found_keep_alive != NULL && strcasecmp(key, "Connection") == 0) { 457 if (strcasecmp(value, "keep-alive") == 0) 456 if (found_keep_alive != NULL 457 && OPENSSL_strcasecmp(key, "Connection") == 0) { 458 if (OPENSSL_strcasecmp(value, "keep-alive") == 0) 458 459 *found_keep_alive = 1; 459 else if ( strcasecmp(value, "close") == 0)460 else if (OPENSSL_strcasecmp(value, "close") == 0) 460 461 *found_keep_alive = 0; 461 462 } -
trunk/src/libs/openssl-3.0.3/apps/lib/names.c
r94320 r95219 1 1 /* 2 * Copyright 2019-202 0The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2019-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 … … 12 12 #include <openssl/safestack.h> 13 13 #include "names.h" 14 15 #ifdef _WIN32 16 # define strcasecmp _stricmp 17 #endif 14 #include "openssl/crypto.h" 18 15 19 16 int name_cmp(const char * const *a, const char * const *b) 20 17 { 21 return strcasecmp(*a, *b);18 return OPENSSL_strcasecmp(*a, *b); 22 19 } 23 20 -
trunk/src/libs/openssl-3.0.3/apps/lib/vms_term_sock.c
r94320 r95219 1 1 /* 2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * Copyright 2016 VMS Software, Inc. All Rights Reserved. 4 4 * … … 134 134 135 135 LogMessage ("Enter 'q' or 'Q' to quit ..."); 136 while ( strcasecmp (TermBuff, "Q")) {136 while (OPENSSL_strcasecmp (TermBuff, "Q")) { 137 137 /* 138 138 ** Create the terminal socket
Note:
See TracChangeset
for help on using the changeset viewer.