You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
612 B

  1. #ifndef _DML_WASM_STUB_OSSL_TYP_H_
  2. #define _DML_WASM_STUB_OSSL_TYP_H_
  3. typedef struct x509_st X509;
  4. typedef struct x509_store_st X509_STORE;
  5. typedef struct x509_store_ctx_st X509_STORE_CTX;
  6. typedef struct ec_key_st EC_KEY;
  7. typedef struct evp_pkey_st EVP_PKEY;
  8. typedef struct bignum_st {} BIGNUM;
  9. #define STACK_OF(type) struct stack_st_##type
  10. STACK_OF(X509);
  11. #define BN_num_bytes(a) 0
  12. static inline BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  13. {
  14. return NULL;
  15. }
  16. static inline int BN_bn2bin(const BIGNUM *a, unsigned char *to)
  17. {
  18. return 0;
  19. }
  20. #endif /* _DML_WASM_STUB_OSSL_TYP_H_ */