Skip to content

Commit

Permalink
fix merge botch that broke !OPENSSL_HAS_ECC
Browse files Browse the repository at this point in the history
  • Loading branch information
djmdjm committed Aug 15, 2024
1 parent 2c53d2f commit 4da2a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sshbuf-getput-crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v)
return sshbuf_put_ec(buf, EC_KEY_get0_public_key(v),
EC_KEY_get0_group(v));
}
#endif /* OPENSSL_HAS_ECC */

int
sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
{
Expand All @@ -186,4 +186,5 @@ sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
return SSH_ERR_LIBCRYPTO_ERROR;
return sshbuf_put_eckey(buf, ec);
}
#endif /* OPENSSL_HAS_ECC */
#endif /* WITH_OPENSSL */

0 comments on commit 4da2a1a

Please sign in to comment.