diff options
author | tb <> | 2023-07-02 03:11:51 +0000 |
---|---|---|
committer | tb <> | 2023-07-02 03:11:51 +0000 |
commit | 89f22c5e5bcb6134af6bdd052ae173fbc385bd03 (patch) | |
tree | 6a18184239a461d4e17d041552fce875a34e535c /src/lib | |
parent | ad1eb5502140e941bb8cb25d1500a875534b04b7 (diff) | |
download | openbsd-89f22c5e5bcb6134af6bdd052ae173fbc385bd03.tar.gz openbsd-89f22c5e5bcb6134af6bdd052ae173fbc385bd03.tar.bz2 openbsd-89f22c5e5bcb6134af6bdd052ae173fbc385bd03.zip |
Move the EC_POINT a bit down and a * to the right place
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c index 4c4a3f1c59..d93e95b239 100644 --- a/src/lib/libcrypto/ecdh/ech_key.c +++ b/src/lib/libcrypto/ecdh/ech_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_key.c,v 1.30 2023/07/02 02:28:20 tb Exp $ */ | 1 | /* $OpenBSD: ech_key.c,v 1.31 2023/07/02 03:11:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -91,10 +91,10 @@ ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, | |||
91 | void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) | 91 | void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) |
92 | { | 92 | { |
93 | BN_CTX *ctx; | 93 | BN_CTX *ctx; |
94 | EC_POINT *point = NULL; | ||
95 | BIGNUM *x; | 94 | BIGNUM *x; |
96 | const BIGNUM *priv_key; | 95 | const BIGNUM *priv_key; |
97 | const EC_GROUP* group; | 96 | const EC_GROUP *group; |
97 | EC_POINT *point = NULL; | ||
98 | unsigned char *buf = NULL; | 98 | unsigned char *buf = NULL; |
99 | int buflen; | 99 | int buflen; |
100 | int ret = -1; | 100 | int ret = -1; |