Opened 14 years ago

Last modified 14 years ago

#25816 closed defect

kerberos5 fails to build — at Version 3

Reported by: andre.beat@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc:
Port: kerberos5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

kerberos5 fails to build due to a dumb compiling error. This error is caused by a function call missing an argument. It was pretty simple to fix and I have attached a patch.

This is the compile error

pkinit_crypto_openssl.c:3662: error: too few arguments to function 'EVP_PKEY_decrypt'

Change History (4)

Changed 14 years ago by andre.beat@…

Attachment: pkinit_crypto_openssl.patch added

patch

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Does this also mean there should be a dependency on openssl?

comment:2 Changed 14 years ago by andre.beat@…

From pkinit_crypto_openssl.h

#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/x509.h>
#include <openssl/pkcs7.h>
#include <openssl/pkcs12.h>
#include <openssl/obj_mac.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/asn1_mac.h>
#include <openssl/sha.h>
#include <openssl/asn1.h>
#include <openssl/pem.h>

So yes, I think openssl should be a dependency. I already had it installed that's why I haven't noticed it.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Remember to use WikiFormatting, please.

Note: See TracTickets for help on using tickets.