From 4944e9cf466d067600f02abdc1452cc1a0158bf5 Mon Sep 17 00:00:00 2001 From: Per Allansson Date: Wed, 13 Mar 2013 17:28:35 +0100 Subject: [PATCH] removed old obsolete hack --- osslsigncode.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/osslsigncode.c b/osslsigncode.c index 31d05f6..0c3bc86 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -672,17 +672,6 @@ static void usage(const char *argv0) ((u_char*)(p))[3] = ((i)>>24) & 0xff -#ifdef HACK_OPENSSL -ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid) -/* ARGSUSED */ -{ - /* Ehhhm. Hack. The PKCS7 sign method adds NID_pkcs9_signingTime if - it isn't there. But we don't want it since M$ barfs on it. - Sooooo... let's pretend it's here. */ - return (ASN1_TYPE*)0xdeadbeef; -} -#endif - typedef enum { FILE_TYPE_CAB, FILE_TYPE_PE,