]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/openssl/libcrypto/libcrypto.factor
use radix literals
[factor.git] / basis / openssl / libcrypto / libcrypto.factor
index 4ab59b7ad672a2f5ec974905b2f2b214b5fab283..2a6d40035d6d92d9308c9844a0fe291ae4d7680f 100644 (file)
@@ -12,8 +12,6 @@ IN: openssl.libcrypto
 
 <<
 {
-    { [ os openbsd? ] [ ] } ! VM is linked with it
-    { [ os netbsd? ] [ ] }
     { [ os windows? ] [ "libcrypto" "libeay32.dll" cdecl add-library ] }
     { [ os macosx? ] [ "libcrypto" "libcrypto.dylib" cdecl add-library ] }
     { [ os unix? ] [ "libcrypto" "libcrypto.so" cdecl add-library ] }
@@ -50,11 +48,11 @@ STRUCT: bio
     { crypto-ex-data-stack void* }
     { crypto-ex-data-dummy int } ;
 
-CONSTANT: BIO_NOCLOSE       HEX: 00
-CONSTANT: BIO_CLOSE         HEX: 01
+CONSTANT: BIO_NOCLOSE       0x00
+CONSTANT: BIO_CLOSE         0x01
 
-CONSTANT: RSA_3             HEX: 3
-CONSTANT: RSA_F4            HEX: 10001
+CONSTANT: RSA_3             0x3
+CONSTANT: RSA_F4            0x10001
 
 CONSTANT: BIO_C_SET_SSL     109
 CONSTANT: BIO_C_GET_SSL     110