Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/crypto/TS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,6 @@ void *OPENSSL_memdup(const void *data, size_t size)

return memcpy(copy, data, size);
}

static void TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int f)
{
ctx->flags = unsigned(f);
}

static void TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, unsigned char *hexstr, long len)
{
OPENSSL_free(ctx->imprint);
ctx->imprint = hexstr;
ctx->imprint_len = unsigned(len);
}

static void TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s)
{
ctx->store = s;
}
#endif

TS::TS(const string &url, const Digest &digest, const string &useragent)
Expand Down
2 changes: 0 additions & 2 deletions src/crypto/X509Crypto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
using namespace digidoc;
using namespace std;

#ifndef LIBRESSL_VERSION_NUMBER
/*-
* IssuerSerial ::= SEQUENCE {
* issuer GeneralNames,
Expand All @@ -48,7 +47,6 @@ using ESS_ISSUER_SERIAL = struct ESS_issuer_serial {
GENERAL_NAMES *issuer;
ASN1_INTEGER *serial;
};
#endif

/**
* Initialize RSA crypter.
Expand Down