diff options
| author | deraadt <> | 2014-06-27 07:01:21 +0000 | 
|---|---|---|
| committer | deraadt <> | 2014-06-27 07:01:21 +0000 | 
| commit | bb93254617e09b88edab5261df7fcfa9af136131 (patch) | |
| tree | ba60ecbc198bfcb2c2d4c08ec51f03763eeb1a58 /src/lib/libcrypto/err/err.c | |
| parent | fd6338db9db0aa87673a9fb6d1abc0ebb4507099 (diff) | |
| download | openbsd-bb93254617e09b88edab5261df7fcfa9af136131.tar.gz openbsd-bb93254617e09b88edab5261df7fcfa9af136131.tar.bz2 openbsd-bb93254617e09b88edab5261df7fcfa9af136131.zip | |
save_errno botch; spotted by miod
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 4 | 
1 files changed, 2 insertions, 2 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 | 
