err.c (76866) | err.c (89837) |
---|---|
1/* crypto/err/err.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 770 unchanged lines hidden (view full) --- 779 n+=strlen(a); 780 if (n > s) 781 { 782 s=n+20; 783 p=OPENSSL_realloc(str,s+1); 784 if (p == NULL) 785 { 786 OPENSSL_free(str); | 1/* crypto/err/err.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 770 unchanged lines hidden (view full) --- 779 n+=strlen(a); 780 if (n > s) 781 { 782 s=n+20; 783 p=OPENSSL_realloc(str,s+1); 784 if (p == NULL) 785 { 786 OPENSSL_free(str); |
787 return; | 787 goto err; |
788 } 789 else 790 str=p; 791 } 792 strcat(str,a); 793 } 794 } 795 ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); 796 | 788 } 789 else 790 str=p; 791 } 792 strcat(str,a); 793 } 794 } 795 ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); 796 |
797err: |
|
797 va_end(args); 798 } 799 | 798 va_end(args); 799 } 800 |