diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-07-27 19:48:05 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-07-27 19:48:05 +0000 |
commit | 564e9258eac3f05d2bcb868ec1ac8d117127c81d (patch) | |
tree | d720f90f8d0315ec690978293c1c329450812a73 /net/httping/files/extrapatch-mssl.c | |
parent | rar2fs is a FUSE based file system that can mount a source RAR (diff) |
Update to 1.5.1
Notes
Notes:
svn path=/head/; revision=278428
Diffstat (limited to 'net/httping/files/extrapatch-mssl.c')
-rw-r--r-- | net/httping/files/extrapatch-mssl.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net/httping/files/extrapatch-mssl.c b/net/httping/files/extrapatch-mssl.c deleted file mode 100644 index 13ca1822ba0b..000000000000 --- a/net/httping/files/extrapatch-mssl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./mssl.c.orig 2010-07-31 15:40:14.760757000 +0200 -+++ ./mssl.c 2010-07-31 15:40:31.439062000 +0200 -@@ -28,6 +28,17 @@ - extern char last_error[]; - BIO *bio_err=0; - -+char * strndup(const char *str, size_t len){ -+ size_t l=strlen(str); -+ char *r; -+ if(len<l){ -+ l=len; -+ } -+ r=malloc(l); -+ memcpy(r, str, l); -+ return r; -+} -+ - char close_ssl_connection(SSL *ssl_h, int socket_h) - { - int rc = SSL_shutdown(ssl_h); |