Re: Couple of questions re: attributes

"Timothy J. Miller" <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Timothy J. Miller wrote:

> When I retry with a debug build I get (-3, 'Bad argument, parameter 3') 
> instead.  As near as I can tell the Python binding doesn't pass on 
> anything else.  I can try to skip the binding and call to cryptlib 
> directly using ctypes.

Amend that.  I forgot to install the dang sharedlib prior to rebuilding 
the cryptlib_py binding.

Now the module load, but aborts on cryptInit():

 >>> from cryptlib_py import *
 >>> cryptInit()
python: device/system.c:788: setDeviceSystem: Assertion `( ( deviceInfo 
) != ((void *)0) && ( void * ) ( deviceInfo ) > ( void * ) &_etext && ( 
sizeof( DEVICE_INFO ) ) > 0 )' failed.
Aborted.

Methinks I'mna hafta either drop python or drop cryptlib since I don't 
have a lot of work time to commit to this, either of which is a shame.

-- Tim

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
smime.p7s (application/x-pkcs7-signature, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.