diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-02 03:11:52 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-02 03:11:52 +0000 |
commit | 89451e83d33c43c1a0c332f734c81092fe74cc1d (patch) | |
tree | c4b619dffd936695d63ffebcf263fa36e89f03cc /lib | |
parent | 2be205729c470381a0e191cefea8f671b8f776fd (diff) |
Move the EC_POINT a bit down and a * to the right place
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/ecdh/ech_key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/ecdh/ech_key.c b/lib/libcrypto/ecdh/ech_key.c index 4c4a3f1c59a..d93e95b2394 100644 --- a/lib/libcrypto/ecdh/ech_key.c +++ b/lib/libcrypto/ecdh/ech_key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ech_key.c,v 1.30 2023/07/02 02:28:20 tb Exp $ */ +/* $OpenBSD: ech_key.c,v 1.31 2023/07/02 03:11:51 tb Exp $ */ /* ==================================================================== * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. * @@ -91,10 +91,10 @@ ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) { BN_CTX *ctx; - EC_POINT *point = NULL; BIGNUM *x; const BIGNUM *priv_key; - const EC_GROUP* group; + const EC_GROUP *group; + EC_POINT *point = NULL; unsigned char *buf = NULL; int buflen; int ret = -1; |