Skip to content

Commit 3df41bd

Browse files
author
smcmahonibm
committed
INST_DIR and JINST_DIR definitions required.
ICC_t typedef required.
1 parent 58a6908 commit 3df41bd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

iccpkg/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ SDK_HEADERS = $(GSK_SDK)/icc.h $(GSK_SDK)/icc_a.h $(GSK_SDK)/iccglobals.h $(GSK_
162162
# our local dks integration and test code
163163
# sigtest and kemtest comes from here
164164
pqc_test_build:
165-
$(MAKE) -C pqc all
165+
"$(MAKE)" -C pqc all
166166

167167
# only run the pqc test if we have pqc support present
168168
ifeq ($(strip $(PQCLIBS)),)
@@ -369,6 +369,10 @@ $(ICC_ROOT)/doc/IBM_CKC.pdf:
369369
$(GSK_SDK)/IBM_CKC.pdf: $(GSK_SDK) $(ICC_ROOT)/doc/IBM_CKC.pdf
370370
$(CP) $(ICC_ROOT)/doc/IBM_CKC.pdf $@
371371

372+
# local alias directory names - deprecated and only used in this Makefile
373+
# These are the runtime directories (package/*gskit_crypto/)
374+
INST_DIR = $(GSK_DIR)
375+
372376
# if it is a no_legacy build then delete the C dir completely
373377

374378
runtime_setup_C: $(INST_DIR)/C/icc/icclib/$(OLD_LIBICC) $(INST_DIR)/C/icc/ReadMe.txt
@@ -661,6 +665,10 @@ $(GSK_OPENSSL): $(ICC_ROOT)/package/iccsdk/openssl$(EXESUFX)
661665
#$(JGSK_SDK)/Standard_International_Program_License_Agreement.pdf: $(JGSK_DIR) $(ICC_ROOT)/icc/Standard_International_Program_License_Agreement.pdf
662666
# $(CP) $(ICC_ROOT)/icc/Standard_International_Program_License_Agreement.pdf $@
663667
# chmod +w $@
668+
# local alias directory names - deprecated and only used in this Makefile
669+
# These are the runtime directories (package/*gskit_crypto/)
670+
JINST_DIR = $(JGSK_DIR)
671+
664672
# match runtime_setup_C
665673

666674
Jruntime_setup_C: $(JINST_DIR)/C/icc/icclib/$(OLD_LIBICC) $(JINST_DIR)/C/icc/ReadMe.txt

iccpkg/gsk_wrap2.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,16 @@ typedef struct {
139139
int is_wchar; /* Set if we were initialized via ICC_InitW() */
140140
} WICC_CTX;
141141

142+
/*! @brief This structure is anonymous as far as ICC users are
143+
concerned. It holds per-context information plus in funcs a link to
144+
more detailed internal context
145+
*/
146+
struct ICC_t
147+
{
148+
FUNC **funcs; /*!< Pointer to the call table */
149+
int dummy2; /*!< Dummy to wake up the debugger */
150+
};
151+
142152
#if defined(__sun) || defined(__hpux)
143153
static int setenv(const char *name,const char *value,int overwrite)
144154
{

0 commit comments

Comments
 (0)