Short version: Just do 'make update' and the numbers will be added automagically. Long version: There is a script, 'util/mkdef.pl', which gets invoked by 'make update'. It scans the header files for new APIs an updates the .num files (libcrypto.num/libeay.num and libssl.num) accordingly. For windows, it also updates the module definition files (*.def). So 'make update' will add your new API function. But be warned: As Jakob already mentioned, if you update OpenSSL it can happen that you get merge conflicts (if you use git) or your numbers will get overwritten (if you extract tarballs). You will have to renumber you symbols (or remove them and run 'make update' again). HTH, Matthias > -----Ursprüngliche Nachricht----- > Von: openssl-users <openssl-users-bounces@xxxxxxxxxxx> Im Auftrag von Jakob Bohm via openssl-users > Gesendet: Dienstag, 27. November 2018 12:09 > An: openssl-users@xxxxxxxxxxx > Betreff: Re: Error: does not have a number assigned > > On 27/11/2018 11:50, EYAL INBAR wrote: > > Hello > > > > I try to add API,CMP_build_KUR_req, to crypto lib and get > > > > Error: CMP_build_KUR_req does not have a number assigned > > > > Any suggestion? > This means you are compiling for a platform (probably Windows > or OS/2) where names exported from DLLs are assigned unique > numbers for fast lookup during application load. > > There is a source file in OpenSSL giving the assigned numbers. > You will need to add numbers for you additional exports, and > deal with the risk that a future OpenSSL release uses that > number for something else. > > > Enjoy > > Jakob > -- > Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com > Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 > This public discussion message is non-binding and may contain errors. > WiseMo - Remote Service Management for PCs, Phones and Embedded > > -- > openssl-users mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users