Make prim static to prevent its being exported.

Having that symbol exported clobbers the namespace and makes other
apps fail, most notably pdftex. I don't believe that the symbol is in
fact intended for public use. Fixes http://bugs.gentoo.org/357235 .
This commit is contained in:
Martin von Gagern
2011-03-03 18:27:54 +01:00
parent 1ec5eff475
commit 2caea73cef

View File

@@ -46,7 +46,7 @@
#define DPO(data,offset) ((void *)(((unsigned char *)data) + offset))
struct asn1_type_func prim[] = {
static struct asn1_type_func prim[] = {
#define el(name, type) { \
(asn1_type_encode)der_put_##name, \
(asn1_type_decode)der_get_##name, \