summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bf/bf_skey.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/bf/bf_skey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bf/bf_skey.c b/src/lib/libcrypto/bf/bf_skey.c
index 8c214f7428..03f494f63b 100644
--- a/src/lib/libcrypto/bf/bf_skey.c
+++ b/src/lib/libcrypto/bf/bf_skey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bf_skey.c,v 1.13 2022/11/11 12:08:29 jsing Exp $ */ 1/* $OpenBSD: bf_skey.c,v 1.14 2022/11/11 12:18:25 jsing 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 *
@@ -58,8 +58,10 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <string.h> 60#include <string.h>
61
61#include <openssl/crypto.h> 62#include <openssl/crypto.h>
62#include <openssl/blowfish.h> 63#include <openssl/blowfish.h>
64
63#include "bf_locl.h" 65#include "bf_locl.h"
64#include "bf_pi.h" 66#include "bf_pi.h"
65 67
@@ -70,7 +72,6 @@ BF_set_key(BF_KEY *key, int len, const unsigned char *data)
70 BF_LONG *p, ri, in[2]; 72 BF_LONG *p, ri, in[2];
71 const unsigned char *d, *end; 73 const unsigned char *d, *end;
72 74
73
74 memcpy(key, &bf_init, sizeof(BF_KEY)); 75 memcpy(key, &bf_init, sizeof(BF_KEY));
75 p = key->P; 76 p = key->P;
76 77
@@ -117,4 +118,3 @@ BF_set_key(BF_KEY *key, int len, const unsigned char *data)
117 p[i + 1] = in[1]; 118 p[i + 1] = in[1];
118 } 119 }
119} 120}
120