Drop heim_any.h, prefix der primitives with der_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18449 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -43,7 +43,6 @@ RCSID("$Id$");
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <krb5-types.h>
|
#include <krb5-types.h>
|
||||||
#include <heim_asn1.h>
|
|
||||||
#include <rfc2459_asn1.h> /* XXX */
|
#include <rfc2459_asn1.h> /* XXX */
|
||||||
#include <der.h>
|
#include <der.h>
|
||||||
|
|
||||||
@@ -87,7 +86,7 @@ BIGNUM *
|
|||||||
BN_dup(const BIGNUM *bn)
|
BN_dup(const BIGNUM *bn)
|
||||||
{
|
{
|
||||||
BIGNUM *b = BN_new();
|
BIGNUM *b = BN_new();
|
||||||
if (copy_heim_integer((const heim_integer *)bn, (heim_integer *)b)) {
|
if (der_copy_heim_integer((const heim_integer *)bn, (heim_integer *)b)) {
|
||||||
BN_free(b);
|
BN_free(b);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -222,8 +221,8 @@ BN_bn2hex(const BIGNUM *bn)
|
|||||||
int
|
int
|
||||||
BN_cmp(const BIGNUM *bn1, const BIGNUM *bn2)
|
BN_cmp(const BIGNUM *bn1, const BIGNUM *bn2)
|
||||||
{
|
{
|
||||||
return heim_integer_cmp((const heim_integer *)bn1,
|
return der_heim_integer_cmp((const heim_integer *)bn1,
|
||||||
(const heim_integer *)bn2);
|
(const heim_integer *)bn2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user