diff options
| author | beck <> | 2024-07-09 07:16:13 +0000 |
|---|---|---|
| committer | beck <> | 2024-07-09 07:16:13 +0000 |
| commit | b21e61a130ebad338ab4bd67c60356d190765f9a (patch) | |
| tree | fce49a2e6431c29a2aaf1e75e6037527ee08ae0d /src/lib/libcrypto/des/enc_read.c | |
| parent | b244abafd18b79847c955d8494f8ea6e83a02c20 (diff) | |
| download | openbsd-b21e61a130ebad338ab4bd67c60356d190765f9a.tar.gz openbsd-b21e61a130ebad338ab4bd67c60356d190765f9a.tar.bz2 openbsd-b21e61a130ebad338ab4bd67c60356d190765f9a.zip | |
Hide DES global variables
ok tb@
Diffstat (limited to 'src/lib/libcrypto/des/enc_read.c')
| -rw-r--r-- | src/lib/libcrypto/des/enc_read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/des/enc_read.c b/src/lib/libcrypto/des/enc_read.c index 35704315e1..32f7547a3f 100644 --- a/src/lib/libcrypto/des/enc_read.c +++ b/src/lib/libcrypto/des/enc_read.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: enc_read.c,v 1.19 2024/05/24 19:16:53 tb Exp $ */ | 1 | /* $OpenBSD: enc_read.c,v 1.20 2024/07/09 07:16:13 beck 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 | * |
| @@ -67,6 +67,7 @@ | |||
| 67 | */ | 67 | */ |
| 68 | 68 | ||
| 69 | int DES_rw_mode = DES_PCBC_MODE; | 69 | int DES_rw_mode = DES_PCBC_MODE; |
| 70 | LCRYPTO_ALIAS(DES_rw_mode); | ||
| 70 | 71 | ||
| 71 | int | 72 | int |
| 72 | DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, | 73 | DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, |
