diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/err/err.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 0b26430dbd..ee6d91f465 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: err.c,v 1.35 2014/06/27 06:07:01 deraadt Exp $ */ | 1 | /* $OpenBSD: err.c,v 1.36 2014/06/27 07:01:21 deraadt Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -713,7 +713,7 @@ ERR_put_error(int lib, int func, int reason, const char *file, int line) | |||
713 | es->err_file[es->top] = file; | 713 | es->err_file[es->top] = file; |
714 | es->err_line[es->top] = line; | 714 | es->err_line[es->top] = line; |
715 | err_clear_data(es, es->top); | 715 | err_clear_data(es, es->top); |
716 | save_errno = errno; | 716 | errno = save_errno; |
717 | } | 717 | } |
718 | 718 | ||
719 | void | 719 | void |
diff --git a/src/lib/libssl/src/crypto/err/err.c b/src/lib/libssl/src/crypto/err/err.c index 0b26430dbd..ee6d91f465 100644 --- a/src/lib/libssl/src/crypto/err/err.c +++ b/src/lib/libssl/src/crypto/err/err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: err.c,v 1.35 2014/06/27 06:07:01 deraadt Exp $ */ | 1 | /* $OpenBSD: err.c,v 1.36 2014/06/27 07:01:21 deraadt Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -713,7 +713,7 @@ ERR_put_error(int lib, int func, int reason, const char *file, int line) | |||
713 | es->err_file[es->top] = file; | 713 | es->err_file[es->top] = file; |
714 | es->err_line[es->top] = line; | 714 | es->err_line[es->top] = line; |
715 | err_clear_data(es, es->top); | 715 | err_clear_data(es, es->top); |
716 | save_errno = errno; | 716 | errno = save_errno; |
717 | } | 717 | } |
718 | 718 | ||
719 | void | 719 | void |