VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150730
Message:

libs/openssl: Update to 3.0.2 and switch to it, bugref:10128

Location:
trunk/src/libs/openssl-3.0.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.2

    • Property svn:mergeinfo
      •  

        old new  
        1313/vendor/openssl/1.1.1k:145841-145843
        1414/vendor/openssl/3.0.1:150323-150324
        15 /vendor/openssl/current:147554-150322
         15/vendor/openssl/3.0.2:150728-150729
         16/vendor/openssl/current:147554-150727
  • trunk/src/libs/openssl-3.0.2/test/helpers/handshake_srp.c

    r94320 r94404  
    11/*
    2  * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    5050        server_ctx_data->srp_user = OPENSSL_strdup(extra->server.srp_user);
    5151        server_ctx_data->srp_password = OPENSSL_strdup(extra->server.srp_password);
     52        if (server_ctx_data->srp_user == NULL || server_ctx_data->srp_password == NULL) {
     53            OPENSSL_free(server_ctx_data->srp_user);
     54            OPENSSL_free(server_ctx_data->srp_password);
     55            server_ctx_data->srp_user = NULL;
     56            server_ctx_data->srp_password = NULL;
     57            return 0;
     58        }
    5259        SSL_CTX_set_srp_cb_arg(server_ctx, server_ctx_data);
    5360    }
     
    5865        server2_ctx_data->srp_user = OPENSSL_strdup(extra->server2.srp_user);
    5966        server2_ctx_data->srp_password = OPENSSL_strdup(extra->server2.srp_password);
     67        if (server2_ctx_data->srp_user == NULL || server2_ctx_data->srp_password == NULL) {
     68            OPENSSL_free(server2_ctx_data->srp_user);
     69            OPENSSL_free(server2_ctx_data->srp_password);
     70            server2_ctx_data->srp_user = NULL;
     71            server2_ctx_data->srp_password = NULL;
     72            return 0;
     73        }
    6074        SSL_CTX_set_srp_cb_arg(server2_ctx, server2_ctx_data);
    6175    }
     
    6680        SSL_CTX_set_srp_client_pwd_callback(client_ctx, client_srp_cb);
    6781        client_ctx_data->srp_password = OPENSSL_strdup(extra->client.srp_password);
     82        if (client_ctx_data->srp_password == NULL)
     83            return 0;
    6884        SSL_CTX_set_srp_cb_arg(client_ctx, client_ctx_data);
    6985    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette