Changeset 95219 in vbox for trunk/src/libs/openssl-3.0.3/crypto/evp/ctrl_params_translate.c
- 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:
-
- 2 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/evp/ctrl_params_translate.c
r94404 r95219 37 37 #include "crypto/dh.h" 38 38 #include "crypto/ec.h" 39 40 #include "e_os.h" /* strcasecmp() for Windows */41 39 42 40 struct translation_ctx_st; /* Forwarding */ … … 906 904 /* Convert KDF type strings to numbers */ 907 905 for (; kdf_type_map->kdf_type_str != NULL; kdf_type_map++) 908 if ( strcasecmp(ctx->p2, kdf_type_map->kdf_type_str) == 0) {906 if (OPENSSL_strcasecmp(ctx->p2, kdf_type_map->kdf_type_str) == 0) { 909 907 ctx->p1 = kdf_type_map->kdf_type_num; 910 908 ret = 1; … … 1075 1073 1076 1074 if (state == PRE_CTRL_STR_TO_PARAMS) { 1077 ctx->p2 = (char *)ossl_dh_gen_type_id2name(atoi(ctx->p2)); 1075 if ((ctx->p2 = (char *)ossl_dh_gen_type_id2name(atoi(ctx->p2))) 1076 == NULL) { 1077 ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_VALUE); 1078 return 0; 1079 } 1078 1080 ctx->p1 = strlen(ctx->p2); 1079 1081 } … … 2470 2472 */ 2471 2473 if (item->ctrl_str != NULL 2472 && strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0)2474 && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0) 2473 2475 ctrl_str = tmpl->ctrl_str; 2474 2476 else if (item->ctrl_hexstr != NULL 2475 && strcasecmp(tmpl->ctrl_hexstr, item->ctrl_hexstr) == 0) 2477 && OPENSSL_strcasecmp(tmpl->ctrl_hexstr, 2478 item->ctrl_hexstr) == 0) 2476 2479 ctrl_hexstr = tmpl->ctrl_hexstr; 2477 2480 else … … 2501 2504 && tmpl->action_type != item->action_type) 2502 2505 || (item->param_key != NULL 2503 && strcasecmp(tmpl->param_key, item->param_key) != 0)) 2506 && OPENSSL_strcasecmp(tmpl->param_key, 2507 item->param_key) != 0)) 2504 2508 continue; 2505 2509 } else {
Note:
See TracChangeset
for help on using the changeset viewer.