diff options
author | 2014-07-13 16:03:09 +0000 | |
---|---|---|
committer | 2014-07-13 16:03:09 +0000 | |
commit | 74a2cbdcfd19dacf51a0f171d05707c1b7276d9b (patch) | |
tree | 15e1064adfbd3cb00711a975bdf6d5db4ddb1889 /lib/libssl/ssl_sess.c | |
parent | tedu setlist support, superseded by the new locate dbs. (diff) | |
download | wireguard-openbsd-74a2cbdcfd19dacf51a0f171d05707c1b7276d9b.tar.xz wireguard-openbsd-74a2cbdcfd19dacf51a0f171d05707c1b7276d9b.zip |
The bell tolls for BUF_strdup - Start the migration to using
intrinsics. This is the easy ones, a few left to check one at
a time.
ok miod@ deraadt@
Diffstat (limited to 'lib/libssl/ssl_sess.c')
-rw-r--r-- | lib/libssl/ssl_sess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_sess.c b/lib/libssl/ssl_sess.c index 101da82b562..d1cd4186016 100644 --- a/lib/libssl/ssl_sess.c +++ b/lib/libssl/ssl_sess.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sess.c,v 1.37 2014/07/12 23:59:11 jsing Exp $ */ +/* $OpenBSD: ssl_sess.c,v 1.38 2014/07/13 16:03:10 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -367,7 +367,7 @@ ssl_get_new_session(SSL *s, int session) sess_id_done: if (s->tlsext_hostname) { - ss->tlsext_hostname = BUF_strdup(s->tlsext_hostname); + ss->tlsext_hostname = strdup(s->tlsext_hostname); if (ss->tlsext_hostname == NULL) { SSLerr(SSL_F_SSL_GET_NEW_SESSION, ERR_R_INTERNAL_ERROR); |