diff options
author | beck <> | 2014-04-17 13:37:50 +0000 |
---|---|---|
committer | beck <> | 2014-04-17 13:37:50 +0000 |
commit | 6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd (patch) | |
tree | 7595a93a27385c367802aa17ecf20f96551cf14d /src/lib/libssl/src/ssl/ssltest.c | |
parent | 4d13fb9c7b5ac7311d7031173c21ab0121388413 (diff) | |
download | openbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.tar.gz openbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.tar.bz2 openbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.zip |
Change library to use intrinsic memory allocation functions instead of
OPENSSL_foo wrappers. This changes:
OPENSSL_malloc->malloc
OPENSSL_free->free
OPENSSL_relloc->realloc
OPENSSL_freeFunc->free
Diffstat (limited to 'src/lib/libssl/src/ssl/ssltest.c')
-rw-r--r-- | src/lib/libssl/src/ssl/ssltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libssl/src/ssl/ssltest.c b/src/lib/libssl/src/ssl/ssltest.c index e56c811a47..a8228fbfa5 100644 --- a/src/lib/libssl/src/ssl/ssltest.c +++ b/src/lib/libssl/src/ssl/ssltest.c | |||
@@ -1601,7 +1601,7 @@ doit(SSL *s_ssl, SSL *c_ssl, long count) | |||
1601 | ret = 0; | 1601 | ret = 0; |
1602 | err: | 1602 | err: |
1603 | /* We have to set the BIO's to NULL otherwise they will be | 1603 | /* We have to set the BIO's to NULL otherwise they will be |
1604 | * OPENSSL_free()ed twice. Once when th s_ssl is SSL_free()ed and | 1604 | * free()ed twice. Once when th s_ssl is SSL_free()ed and |
1605 | * again when c_ssl is SSL_free()ed. | 1605 | * again when c_ssl is SSL_free()ed. |
1606 | * This is a hack required because s_ssl and c_ssl are sharing the same | 1606 | * This is a hack required because s_ssl and c_ssl are sharing the same |
1607 | * BIO structure and SSL_set_bio() and SSL_free() automatically | 1607 | * BIO structure and SSL_set_bio() and SSL_free() automatically |