evp_pkey_ctx_new_from_name.c 279 B

1234567891011121314
  1. #include <stdio.h>
  2. #include <openssl/ec.h>
  3. #include <openssl/evp.h>
  4. #include <openssl/err.h>
  5. int main(int argc, char *argv[])
  6. {
  7. EVP_PKEY_CTX *pctx = NULL;
  8. pctx = EVP_PKEY_CTX_new_from_name(NULL, "NO_SUCH_ALGORITHM", NULL);
  9. EVP_PKEY_CTX_free(pctx);
  10. return 0;
  11. }