include -framework Security specific header files after #ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20922 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -32,11 +32,12 @@
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "hx_locl.h"
 | 
			
		||||
#include <Security/Security.h>
 | 
			
		||||
RCSID("$Id$");
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_FRAMEWORK_SECURITY
 | 
			
		||||
 | 
			
		||||
#include <Security/Security.h>
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
@@ -48,20 +49,20 @@ struct kc_rsa {
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
kc_rsa_public_encrypt(int flen,
 | 
			
		||||
		       const unsigned char *from,
 | 
			
		||||
		       unsigned char *to,
 | 
			
		||||
		       RSA *rsa,
 | 
			
		||||
		       int padding)
 | 
			
		||||
		      const unsigned char *from,
 | 
			
		||||
		      unsigned char *to,
 | 
			
		||||
		      RSA *rsa,
 | 
			
		||||
		      int padding)
 | 
			
		||||
{
 | 
			
		||||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
kc_rsa_public_decrypt(int flen,
 | 
			
		||||
		       const unsigned char *from,
 | 
			
		||||
		       unsigned char *to,
 | 
			
		||||
		       RSA *rsa,
 | 
			
		||||
		       int padding)
 | 
			
		||||
		      const unsigned char *from,
 | 
			
		||||
		      unsigned char *to,
 | 
			
		||||
		      RSA *rsa,
 | 
			
		||||
		      int padding)
 | 
			
		||||
{
 | 
			
		||||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
@@ -69,17 +70,17 @@ kc_rsa_public_decrypt(int flen,
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
kc_rsa_private_encrypt(int flen, 
 | 
			
		||||
			const unsigned char *from,
 | 
			
		||||
			unsigned char *to,
 | 
			
		||||
			RSA *rsa,
 | 
			
		||||
			int padding)
 | 
			
		||||
		       const unsigned char *from,
 | 
			
		||||
		       unsigned char *to,
 | 
			
		||||
		       RSA *rsa,
 | 
			
		||||
		       int padding)
 | 
			
		||||
{
 | 
			
		||||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
kc_rsa_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
 | 
			
		||||
			RSA * rsa, int padding)
 | 
			
		||||
		       RSA * rsa, int padding)
 | 
			
		||||
{
 | 
			
		||||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
@@ -181,7 +182,7 @@ keychain_init(hx509_context context,
 | 
			
		||||
				   "Failed to open %s", residue);
 | 
			
		||||
	    return ENOENT;
 | 
			
		||||
	}
 | 
			
		||||
   }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    *data = ctx;
 | 
			
		||||
    return 0;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user