[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-03-09 Thread derick

ID: 9163
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: mcrypt related
Assigned To: derick
Comments:



Previous Comments:
---

[2001-02-07 17:36:27] [EMAIL PROTECTED]
What is ld.so.conf?  This is a solaris system; I did a "man ld" and it doesn't say 
anything about that file.

/usr/local/lib:
total 6102
drwxr-xr-x   3 root root 512 Nov  7 17:06 gcc-lib/
-r--r--r--   1 root other  49408 Sep 22  1999 libamu.a
-r--r--r--   1 root other623 Sep 22  1999 libamu.la
-rw-r--r--   1 root other1564188 Jan 31 17:11 libcrypto.a
-rw-r--r--   1 root other  62932 Jan 18 14:17 liblber.a
-rw-r--r--   1 root other658 Jan 18 14:17 liblber.la
-rw-r--r--   1 root other 258080 Jan 18 14:17 libldap.a
-rw-r--r--   1 root other673 Jan 18 14:17 libldap.la
-rw-r--r--   1 root other 276392 Jan 18 14:17 libldap_r.a
-rw-r--r--   1 root other679 Jan 18 14:17 libldap_r.la
-rw-r--r--   1 root other  15804 Feb  6 17:31 libltdl.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 libltdl.la*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so -> libltdl.so.0.1.2*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so.0 -> 
libltdl.so.0.1.2*
-rwxr-xr-x   1 root other  16300 Feb  6 17:31 libltdl.so.0.1.2*
drwxr-xr-x   2 root other   2048 Feb  6 17:32 libmcrypt/
-rw-r--r--   1 root other  21288 Feb  6 17:32 libmcrypt.a
-rw-r--r--   1 root other  21288 Feb  1 13:14 libmcrypt.a_bak
-rwxr-xr-x   1 root other654 Feb  6 17:32 libmcrypt.la*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so -> 
libmcrypt.so.4.0.4*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so.4 -> 
libmcrypt.so.4.0.4*
-rwxr-xr-x   1 root other  18948 Feb  6 17:32 libmcrypt.so.4.0.4*
-rw-r--r--   1 root other 293004 Jan 31 17:11 libssl.a
-rw-r--r--   1 root other 454088 Nov  7 18:42 libstdc++.a.2.10.0
drwxr-xr-x   4 root other512 Oct 24 15:36 perl5/
-rw-r--r--   1 root other 38 Jan 17 16:16 sccsid

/usr/local/lib/libmcrypt:
total 1056
-rw-r--r--   1 root other   3864 Feb  6 17:31 arcfour-iv.a
-rwxr-xr-x   1 root other675 Feb  6 17:31 arcfour-iv.la*
-rwxr-xr-x   1 root other   6216 Feb  6 17:31 arcfour-iv.so*
-rw-r--r--   1 root other   3520 Feb  6 17:31 arcfour.a
-rwxr-xr-x   1 root other654 Feb  6 17:31 arcfour.la*
-rwxr-xr-x   1 root other   5876 Feb  6 17:31 arcfour.so*
-rw-r--r--   1 root other   9072 Feb  6 17:31 blowfish.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 blowfish.la*
-rwxr-xr-x   1 root other  11416 Feb  6 17:31 blowfish.so*
-rw-r--r--   1 root other  17572 Feb  6 17:31 cast-128.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-128.la*
-rwxr-xr-x   1 root other  19736 Feb  6 17:31 cast-128.so*
-rw-r--r--   1 root other  19908 Feb  6 17:31 cast-256.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-256.la*
-rwxr-xr-x   1 root other  22520 Feb  6 17:31 cast-256.so*
-rw-r--r--   1 root other   2492 Feb  6 17:32 cbc.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cbc.la*
-rwxr-xr-x   1 root other   4540 Feb  6 17:32 cbc.so*
-rw-r--r--   1 root other   2436 Feb  6 17:32 cfb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cfb.la*
-rwxr-xr-x   1 root other   4400 Feb  6 17:32 cfb.so*
-rw-r--r--   1 root other   7536 Feb  6 17:31 des.a
-rwxr-xr-x   1 root other626 Feb  6 17:31 des.la*
-rwxr-xr-x   1 root other   9928 Feb  6 17:31 des.so*
-rw-r--r--   1 root other   1836 Feb  6 17:32 ecb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ecb.la*
-rwxr-xr-x   1 root other   3928 Feb  6 17:32 ecb.so*
-rw-r--r--   1 root other   4668 Feb  6 17:31 enigma.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 enigma.la*
-rwxr-xr-x   1 root other   7196 Feb  6 17:31 enigma.so*
-rw-r--r--   1 root other   5892 Feb  6 17:31 gost.a
-rwxr-xr-x   1 root other633 Feb  6 17:31 gost.la*
-rwxr-xr-x   1 root other   8124 Feb  6 17:31 gost.so*
-rw-r--r--   1 root other  10496 Feb  6 17:31 loki97.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 loki97.la*
-rwxr-xr-x   1 root other  12512 Feb  6 17:31 loki97.so*
-rw-r--r--   1 root other   2632 Feb  6 17:32 nofb.a
-rwxr-xr-x   1 root other633 Feb  6 17:32 nofb.la*
-rwxr-xr-x   1 root other   4628 Feb  6 17:32 nofb.so*
-rw-r--r--   1 root other   2444 Feb  6 17:32 ofb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ofb.la*
-rwxr-xr-x   1 root other   

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread rusty

ID: 9163
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: mcrypt related
Description: mcrypt_list_algorithms doesn't work

As per your request I tried it with

  mcrypt_list_algorithms ("/usr/local/bin/lib")

Also tried it with "/usr/local/lib" and "/usr/local/lib/libmcrypt".

No cigar.

Previous Comments:
---

[2001-02-07 17:36:27] [EMAIL PROTECTED]
What is ld.so.conf?  This is a solaris system; I did a "man ld" and it doesn't say 
anything about that file.

/usr/local/lib:
total 6102
drwxr-xr-x   3 root root 512 Nov  7 17:06 gcc-lib/
-r--r--r--   1 root other  49408 Sep 22  1999 libamu.a
-r--r--r--   1 root other623 Sep 22  1999 libamu.la
-rw-r--r--   1 root other1564188 Jan 31 17:11 libcrypto.a
-rw-r--r--   1 root other  62932 Jan 18 14:17 liblber.a
-rw-r--r--   1 root other658 Jan 18 14:17 liblber.la
-rw-r--r--   1 root other 258080 Jan 18 14:17 libldap.a
-rw-r--r--   1 root other673 Jan 18 14:17 libldap.la
-rw-r--r--   1 root other 276392 Jan 18 14:17 libldap_r.a
-rw-r--r--   1 root other679 Jan 18 14:17 libldap_r.la
-rw-r--r--   1 root other  15804 Feb  6 17:31 libltdl.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 libltdl.la*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so -> libltdl.so.0.1.2*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so.0 -> 
libltdl.so.0.1.2*
-rwxr-xr-x   1 root other  16300 Feb  6 17:31 libltdl.so.0.1.2*
drwxr-xr-x   2 root other   2048 Feb  6 17:32 libmcrypt/
-rw-r--r--   1 root other  21288 Feb  6 17:32 libmcrypt.a
-rw-r--r--   1 root other  21288 Feb  1 13:14 libmcrypt.a_bak
-rwxr-xr-x   1 root other654 Feb  6 17:32 libmcrypt.la*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so -> 
libmcrypt.so.4.0.4*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so.4 -> 
libmcrypt.so.4.0.4*
-rwxr-xr-x   1 root other  18948 Feb  6 17:32 libmcrypt.so.4.0.4*
-rw-r--r--   1 root other 293004 Jan 31 17:11 libssl.a
-rw-r--r--   1 root other 454088 Nov  7 18:42 libstdc++.a.2.10.0
drwxr-xr-x   4 root other512 Oct 24 15:36 perl5/
-rw-r--r--   1 root other 38 Jan 17 16:16 sccsid

/usr/local/lib/libmcrypt:
total 1056
-rw-r--r--   1 root other   3864 Feb  6 17:31 arcfour-iv.a
-rwxr-xr-x   1 root other675 Feb  6 17:31 arcfour-iv.la*
-rwxr-xr-x   1 root other   6216 Feb  6 17:31 arcfour-iv.so*
-rw-r--r--   1 root other   3520 Feb  6 17:31 arcfour.a
-rwxr-xr-x   1 root other654 Feb  6 17:31 arcfour.la*
-rwxr-xr-x   1 root other   5876 Feb  6 17:31 arcfour.so*
-rw-r--r--   1 root other   9072 Feb  6 17:31 blowfish.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 blowfish.la*
-rwxr-xr-x   1 root other  11416 Feb  6 17:31 blowfish.so*
-rw-r--r--   1 root other  17572 Feb  6 17:31 cast-128.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-128.la*
-rwxr-xr-x   1 root other  19736 Feb  6 17:31 cast-128.so*
-rw-r--r--   1 root other  19908 Feb  6 17:31 cast-256.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-256.la*
-rwxr-xr-x   1 root other  22520 Feb  6 17:31 cast-256.so*
-rw-r--r--   1 root other   2492 Feb  6 17:32 cbc.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cbc.la*
-rwxr-xr-x   1 root other   4540 Feb  6 17:32 cbc.so*
-rw-r--r--   1 root other   2436 Feb  6 17:32 cfb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cfb.la*
-rwxr-xr-x   1 root other   4400 Feb  6 17:32 cfb.so*
-rw-r--r--   1 root other   7536 Feb  6 17:31 des.a
-rwxr-xr-x   1 root other626 Feb  6 17:31 des.la*
-rwxr-xr-x   1 root other   9928 Feb  6 17:31 des.so*
-rw-r--r--   1 root other   1836 Feb  6 17:32 ecb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ecb.la*
-rwxr-xr-x   1 root other   3928 Feb  6 17:32 ecb.so*
-rw-r--r--   1 root other   4668 Feb  6 17:31 enigma.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 enigma.la*
-rwxr-xr-x   1 root other   7196 Feb  6 17:31 enigma.so*
-rw-r--r--   1 root other   5892 Feb  6 17:31 gost.a
-rwxr-xr-x   1 root other633 Feb  6 17:31 gost.la*
-rwxr-xr-x   1 root other   8124 Feb  6 17:31 gost.so*
-rw-r--r--   1 root other  10496 Feb  6 17:31 loki97.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 loki97.la*
-rwxr-xr-x   1 root other  12512 Feb  6 17:31 loki97.so*
-rw-r--r--   1 root other   2632 Feb  6 17:32 nofb.a
-rwxr-xr-x   1 root other633 Feb  6 17:32 nofb.la*
-rwxr-xr-x   1 root other   4628 Feb  6 17:32 nofb.so*
-rw-r--r

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread rusty

ID: 9163
User Update by: [EMAIL PROTECTED]
Old-Status: Assigned
Status: Open
Bug Type: mcrypt related
Description: mcrypt_list_algorithms doesn't work

What is ld.so.conf?  This is a solaris system; I did a "man ld" and it doesn't say 
anything about that file.

/usr/local/lib:
total 6102
drwxr-xr-x   3 root root 512 Nov  7 17:06 gcc-lib/
-r--r--r--   1 root other  49408 Sep 22  1999 libamu.a
-r--r--r--   1 root other623 Sep 22  1999 libamu.la
-rw-r--r--   1 root other1564188 Jan 31 17:11 libcrypto.a
-rw-r--r--   1 root other  62932 Jan 18 14:17 liblber.a
-rw-r--r--   1 root other658 Jan 18 14:17 liblber.la
-rw-r--r--   1 root other 258080 Jan 18 14:17 libldap.a
-rw-r--r--   1 root other673 Jan 18 14:17 libldap.la
-rw-r--r--   1 root other 276392 Jan 18 14:17 libldap_r.a
-rw-r--r--   1 root other679 Jan 18 14:17 libldap_r.la
-rw-r--r--   1 root other  15804 Feb  6 17:31 libltdl.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 libltdl.la*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so -> libltdl.so.0.1.2*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so.0 -> 
libltdl.so.0.1.2*
-rwxr-xr-x   1 root other  16300 Feb  6 17:31 libltdl.so.0.1.2*
drwxr-xr-x   2 root other   2048 Feb  6 17:32 libmcrypt/
-rw-r--r--   1 root other  21288 Feb  6 17:32 libmcrypt.a
-rw-r--r--   1 root other  21288 Feb  1 13:14 libmcrypt.a_bak
-rwxr-xr-x   1 root other654 Feb  6 17:32 libmcrypt.la*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so -> 
libmcrypt.so.4.0.4*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so.4 -> 
libmcrypt.so.4.0.4*
-rwxr-xr-x   1 root other  18948 Feb  6 17:32 libmcrypt.so.4.0.4*
-rw-r--r--   1 root other 293004 Jan 31 17:11 libssl.a
-rw-r--r--   1 root other 454088 Nov  7 18:42 libstdc++.a.2.10.0
drwxr-xr-x   4 root other512 Oct 24 15:36 perl5/
-rw-r--r--   1 root other 38 Jan 17 16:16 sccsid

/usr/local/lib/libmcrypt:
total 1056
-rw-r--r--   1 root other   3864 Feb  6 17:31 arcfour-iv.a
-rwxr-xr-x   1 root other675 Feb  6 17:31 arcfour-iv.la*
-rwxr-xr-x   1 root other   6216 Feb  6 17:31 arcfour-iv.so*
-rw-r--r--   1 root other   3520 Feb  6 17:31 arcfour.a
-rwxr-xr-x   1 root other654 Feb  6 17:31 arcfour.la*
-rwxr-xr-x   1 root other   5876 Feb  6 17:31 arcfour.so*
-rw-r--r--   1 root other   9072 Feb  6 17:31 blowfish.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 blowfish.la*
-rwxr-xr-x   1 root other  11416 Feb  6 17:31 blowfish.so*
-rw-r--r--   1 root other  17572 Feb  6 17:31 cast-128.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-128.la*
-rwxr-xr-x   1 root other  19736 Feb  6 17:31 cast-128.so*
-rw-r--r--   1 root other  19908 Feb  6 17:31 cast-256.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-256.la*
-rwxr-xr-x   1 root other  22520 Feb  6 17:31 cast-256.so*
-rw-r--r--   1 root other   2492 Feb  6 17:32 cbc.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cbc.la*
-rwxr-xr-x   1 root other   4540 Feb  6 17:32 cbc.so*
-rw-r--r--   1 root other   2436 Feb  6 17:32 cfb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cfb.la*
-rwxr-xr-x   1 root other   4400 Feb  6 17:32 cfb.so*
-rw-r--r--   1 root other   7536 Feb  6 17:31 des.a
-rwxr-xr-x   1 root other626 Feb  6 17:31 des.la*
-rwxr-xr-x   1 root other   9928 Feb  6 17:31 des.so*
-rw-r--r--   1 root other   1836 Feb  6 17:32 ecb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ecb.la*
-rwxr-xr-x   1 root other   3928 Feb  6 17:32 ecb.so*
-rw-r--r--   1 root other   4668 Feb  6 17:31 enigma.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 enigma.la*
-rwxr-xr-x   1 root other   7196 Feb  6 17:31 enigma.so*
-rw-r--r--   1 root other   5892 Feb  6 17:31 gost.a
-rwxr-xr-x   1 root other633 Feb  6 17:31 gost.la*
-rwxr-xr-x   1 root other   8124 Feb  6 17:31 gost.so*
-rw-r--r--   1 root other  10496 Feb  6 17:31 loki97.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 loki97.la*
-rwxr-xr-x   1 root other  12512 Feb  6 17:31 loki97.so*
-rw-r--r--   1 root other   2632 Feb  6 17:32 nofb.a
-rwxr-xr-x   1 root other633 Feb  6 17:32 nofb.la*
-rwxr-xr-x   1 root other   4628 Feb  6 17:32 nofb.so*
-rw-r--r--   1 root other   2444 Feb  6 17:32 ofb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ofb.la*
-rwxr-xr-x   1 root other   4408 Feb  6 17:31 ofb.so*
-rw-r--r--   1 root other    Feb  6 17:31 panama.a
-rwxr-xr-x   1 root other647 Feb

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread derick

ID: 9163
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: mcrypt related
Assigned To: derick
Comments:

That looks all ok to me. I'll check it out and report later, i~t might be a problem in 
the functions. Can you try using
mcrypt_list_algorithms ("/usr/local/bin/lib") ?

Previous Comments:
---

[2001-02-07 16:47:31] [EMAIL PROTECTED]
What is ld.so.conf?  This is a solaris system; I did a "man ld" and it doesn't say 
anything about that file.

/usr/local/lib:
total 6102
drwxr-xr-x   3 root root 512 Nov  7 17:06 gcc-lib/
-r--r--r--   1 root other  49408 Sep 22  1999 libamu.a
-r--r--r--   1 root other623 Sep 22  1999 libamu.la
-rw-r--r--   1 root other1564188 Jan 31 17:11 libcrypto.a
-rw-r--r--   1 root other  62932 Jan 18 14:17 liblber.a
-rw-r--r--   1 root other658 Jan 18 14:17 liblber.la
-rw-r--r--   1 root other 258080 Jan 18 14:17 libldap.a
-rw-r--r--   1 root other673 Jan 18 14:17 libldap.la
-rw-r--r--   1 root other 276392 Jan 18 14:17 libldap_r.a
-rw-r--r--   1 root other679 Jan 18 14:17 libldap_r.la
-rw-r--r--   1 root other  15804 Feb  6 17:31 libltdl.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 libltdl.la*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so -> libltdl.so.0.1.2*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so.0 -> 
libltdl.so.0.1.2*
-rwxr-xr-x   1 root other  16300 Feb  6 17:31 libltdl.so.0.1.2*
drwxr-xr-x   2 root other   2048 Feb  6 17:32 libmcrypt/
-rw-r--r--   1 root other  21288 Feb  6 17:32 libmcrypt.a
-rw-r--r--   1 root other  21288 Feb  1 13:14 libmcrypt.a_bak
-rwxr-xr-x   1 root other654 Feb  6 17:32 libmcrypt.la*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so -> 
libmcrypt.so.4.0.4*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so.4 -> 
libmcrypt.so.4.0.4*
-rwxr-xr-x   1 root other  18948 Feb  6 17:32 libmcrypt.so.4.0.4*
-rw-r--r--   1 root other 293004 Jan 31 17:11 libssl.a
-rw-r--r--   1 root other 454088 Nov  7 18:42 libstdc++.a.2.10.0
drwxr-xr-x   4 root other512 Oct 24 15:36 perl5/
-rw-r--r--   1 root other 38 Jan 17 16:16 sccsid

/usr/local/lib/libmcrypt:
total 1056
-rw-r--r--   1 root other   3864 Feb  6 17:31 arcfour-iv.a
-rwxr-xr-x   1 root other675 Feb  6 17:31 arcfour-iv.la*
-rwxr-xr-x   1 root other   6216 Feb  6 17:31 arcfour-iv.so*
-rw-r--r--   1 root other   3520 Feb  6 17:31 arcfour.a
-rwxr-xr-x   1 root other654 Feb  6 17:31 arcfour.la*
-rwxr-xr-x   1 root other   5876 Feb  6 17:31 arcfour.so*
-rw-r--r--   1 root other   9072 Feb  6 17:31 blowfish.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 blowfish.la*
-rwxr-xr-x   1 root other  11416 Feb  6 17:31 blowfish.so*
-rw-r--r--   1 root other  17572 Feb  6 17:31 cast-128.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-128.la*
-rwxr-xr-x   1 root other  19736 Feb  6 17:31 cast-128.so*
-rw-r--r--   1 root other  19908 Feb  6 17:31 cast-256.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-256.la*
-rwxr-xr-x   1 root other  22520 Feb  6 17:31 cast-256.so*
-rw-r--r--   1 root other   2492 Feb  6 17:32 cbc.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cbc.la*
-rwxr-xr-x   1 root other   4540 Feb  6 17:32 cbc.so*
-rw-r--r--   1 root other   2436 Feb  6 17:32 cfb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cfb.la*
-rwxr-xr-x   1 root other   4400 Feb  6 17:32 cfb.so*
-rw-r--r--   1 root other   7536 Feb  6 17:31 des.a
-rwxr-xr-x   1 root other626 Feb  6 17:31 des.la*
-rwxr-xr-x   1 root other   9928 Feb  6 17:31 des.so*
-rw-r--r--   1 root other   1836 Feb  6 17:32 ecb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ecb.la*
-rwxr-xr-x   1 root other   3928 Feb  6 17:32 ecb.so*
-rw-r--r--   1 root other   4668 Feb  6 17:31 enigma.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 enigma.la*
-rwxr-xr-x   1 root other   7196 Feb  6 17:31 enigma.so*
-rw-r--r--   1 root other   5892 Feb  6 17:31 gost.a
-rwxr-xr-x   1 root other633 Feb  6 17:31 gost.la*
-rwxr-xr-x   1 root other   8124 Feb  6 17:31 gost.so*
-rw-r--r--   1 root other  10496 Feb  6 17:31 loki97.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 loki97.la*
-rwxr-xr-x   1 root other  12512 Feb  6 17:31 loki97.so*
-rw-r--r--   1 root other   2632 Feb  6 17:32 nofb.a
-rwxr-xr-x   1 root other633 Feb  6 17:32 nofb.la*
-rwxr-xr-x   1 root other   4628 Feb  6 17:32 n

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread rusty

ID: 9163
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: mcrypt related
Description: mcrypt_list_algorithms doesn't work

What is ld.so.conf?  This is a solaris system; I did a "man ld" and it doesn't say 
anything about that file.

/usr/local/lib:
total 6102
drwxr-xr-x   3 root root 512 Nov  7 17:06 gcc-lib/
-r--r--r--   1 root other  49408 Sep 22  1999 libamu.a
-r--r--r--   1 root other623 Sep 22  1999 libamu.la
-rw-r--r--   1 root other1564188 Jan 31 17:11 libcrypto.a
-rw-r--r--   1 root other  62932 Jan 18 14:17 liblber.a
-rw-r--r--   1 root other658 Jan 18 14:17 liblber.la
-rw-r--r--   1 root other 258080 Jan 18 14:17 libldap.a
-rw-r--r--   1 root other673 Jan 18 14:17 libldap.la
-rw-r--r--   1 root other 276392 Jan 18 14:17 libldap_r.a
-rw-r--r--   1 root other679 Jan 18 14:17 libldap_r.la
-rw-r--r--   1 root other  15804 Feb  6 17:31 libltdl.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 libltdl.la*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so -> libltdl.so.0.1.2*
lrwxrwxrwx   1 root other 16 Feb  6 17:31 libltdl.so.0 -> 
libltdl.so.0.1.2*
-rwxr-xr-x   1 root other  16300 Feb  6 17:31 libltdl.so.0.1.2*
drwxr-xr-x   2 root other   2048 Feb  6 17:32 libmcrypt/
-rw-r--r--   1 root other  21288 Feb  6 17:32 libmcrypt.a
-rw-r--r--   1 root other  21288 Feb  1 13:14 libmcrypt.a_bak
-rwxr-xr-x   1 root other654 Feb  6 17:32 libmcrypt.la*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so -> 
libmcrypt.so.4.0.4*
lrwxrwxrwx   1 root other 18 Feb  6 17:32 libmcrypt.so.4 -> 
libmcrypt.so.4.0.4*
-rwxr-xr-x   1 root other  18948 Feb  6 17:32 libmcrypt.so.4.0.4*
-rw-r--r--   1 root other 293004 Jan 31 17:11 libssl.a
-rw-r--r--   1 root other 454088 Nov  7 18:42 libstdc++.a.2.10.0
drwxr-xr-x   4 root other512 Oct 24 15:36 perl5/
-rw-r--r--   1 root other 38 Jan 17 16:16 sccsid

/usr/local/lib/libmcrypt:
total 1056
-rw-r--r--   1 root other   3864 Feb  6 17:31 arcfour-iv.a
-rwxr-xr-x   1 root other675 Feb  6 17:31 arcfour-iv.la*
-rwxr-xr-x   1 root other   6216 Feb  6 17:31 arcfour-iv.so*
-rw-r--r--   1 root other   3520 Feb  6 17:31 arcfour.a
-rwxr-xr-x   1 root other654 Feb  6 17:31 arcfour.la*
-rwxr-xr-x   1 root other   5876 Feb  6 17:31 arcfour.so*
-rw-r--r--   1 root other   9072 Feb  6 17:31 blowfish.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 blowfish.la*
-rwxr-xr-x   1 root other  11416 Feb  6 17:31 blowfish.so*
-rw-r--r--   1 root other  17572 Feb  6 17:31 cast-128.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-128.la*
-rwxr-xr-x   1 root other  19736 Feb  6 17:31 cast-128.so*
-rw-r--r--   1 root other  19908 Feb  6 17:31 cast-256.a
-rwxr-xr-x   1 root other661 Feb  6 17:31 cast-256.la*
-rwxr-xr-x   1 root other  22520 Feb  6 17:31 cast-256.so*
-rw-r--r--   1 root other   2492 Feb  6 17:32 cbc.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cbc.la*
-rwxr-xr-x   1 root other   4540 Feb  6 17:32 cbc.so*
-rw-r--r--   1 root other   2436 Feb  6 17:32 cfb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 cfb.la*
-rwxr-xr-x   1 root other   4400 Feb  6 17:32 cfb.so*
-rw-r--r--   1 root other   7536 Feb  6 17:31 des.a
-rwxr-xr-x   1 root other626 Feb  6 17:31 des.la*
-rwxr-xr-x   1 root other   9928 Feb  6 17:31 des.so*
-rw-r--r--   1 root other   1836 Feb  6 17:32 ecb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ecb.la*
-rwxr-xr-x   1 root other   3928 Feb  6 17:32 ecb.so*
-rw-r--r--   1 root other   4668 Feb  6 17:31 enigma.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 enigma.la*
-rwxr-xr-x   1 root other   7196 Feb  6 17:31 enigma.so*
-rw-r--r--   1 root other   5892 Feb  6 17:31 gost.a
-rwxr-xr-x   1 root other633 Feb  6 17:31 gost.la*
-rwxr-xr-x   1 root other   8124 Feb  6 17:31 gost.so*
-rw-r--r--   1 root other  10496 Feb  6 17:31 loki97.a
-rwxr-xr-x   1 root other647 Feb  6 17:31 loki97.la*
-rwxr-xr-x   1 root other  12512 Feb  6 17:31 loki97.so*
-rw-r--r--   1 root other   2632 Feb  6 17:32 nofb.a
-rwxr-xr-x   1 root other633 Feb  6 17:32 nofb.la*
-rwxr-xr-x   1 root other   4628 Feb  6 17:32 nofb.so*
-rw-r--r--   1 root other   2444 Feb  6 17:32 ofb.a
-rwxr-xr-x   1 root other626 Feb  6 17:32 ofb.la*
-rwxr-xr-x   1 root other   4408 Feb  6 17:31 ofb.so*
-rw-r--r--   1 root other    Feb  6 17:31 panama.a
-rwxr-xr-x   1 root other647 Feb

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread derick

ID: 9163
Updated by: derick
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: mcrypt related
Assigned To: 
Comments:

mcrypt

mcrypt support   enabled
version  2.4.x
Supported ciphers none
Supported modes  none

DirectiveLocal Value  Master Value
mcrypt.algorithms_dir
/usr/local/lib/libmcrypt /usr/local/lib/libmcrypt
mcrypt.modes_dir
/usr/local/lib/libmcrypt /usr/local/lib/libmcrypt

It looks like there are no modules installed in these dirs, what is the content of 
these directories, and is this path in your ld.so.conf ?

(Please use the bugsystem to answer the question)

Previous Comments:
---

[2001-02-07 16:14:35] [EMAIL PROTECTED]
IN which are your modules and to which parameter are the directories set in php.ini ?
It would be nice if you could add a link to the output of a phpinfo(); to this report 
too.

---

[2001-02-07 16:09:48] [EMAIL PROTECTED]
I'm using libmcrypt-2.4.8.  Compiled everything with gcc-2.95.2.  Here is the sample 
script.  Everything works except the mcrypt_list_algorithms() and mcrypt_list_modes() 
at the end.  They both generate the error "Warning: No algorithms found in module dir 
in /grunt_a/apache/htdocs/grunt/idrive/test1.php on line 34"




  if (mcrypt_module_self_test(MCRYPT_DES) == FALSE) {
echo "mcrypt_module_self_test(MCRYPT_DES) failed
"; } else { echo "mcrypt_module_self_test(MCRYPT_DES) passed
"; } $key = "the password is: xyzzy"; $input = "encrypt this, sucker"; $td = mcrypt_module_open(MCRYPT_DES, "", MCRYPT_MODE_CBC, ""); $ivs = mcrypt_enc_get_iv_size($td); $iv = mcrypt_create_iv($ivs, MCRYPT_RAND); mcrypt_generic_init($td, $key, $iv); if (mcrypt_enc_self_test($td)) { echo "mcrypt_enc_self_test() failed
"; } $enc = mcrypt_generic($td, $input); echo "encrypted data: " . bin2hex($enc) . "
"; $dec = mdecrypt_generic($td, $enc); echo "decrypted data: " . $dec . "
"; echo "algorithm: " . mcrypt_enc_get_algorithms_name($td) . "
"; echo "mode: " . mcrypt_enc_get_modes_name($td) . "
"; echo "block size: " . mcrypt_enc_get_block_size($td) . "
"; echo "key size: " . mcrypt_enc_get_key_size($td) . "
"; $algs = mcrypt_list_algorithms(); $mods = mcrypt_list_modes(); mcrypt_generic_end($td) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9163&edit=2 -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #9163 Updated: mcrypt_list_algorithms doesn't work

2001-02-07 Thread derick

ID: 9163
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: mcrypt related
Assigned To: 
Comments:

IN which are your modules and to which parameter are the directories set in php.ini ?
It would be nice if you could add a link to the output of a phpinfo(); to this report 
too.

Previous Comments:
---

[2001-02-07 16:09:48] [EMAIL PROTECTED]
I'm using libmcrypt-2.4.8.  Compiled everything with gcc-2.95.2.  Here is the sample 
script.  Everything works except the mcrypt_list_algorithms() and mcrypt_list_modes() 
at the end.  They both generate the error "Warning: No algorithms found in module dir 
in /grunt_a/apache/htdocs/grunt/idrive/test1.php on line 34"




  if (mcrypt_module_self_test(MCRYPT_DES) == FALSE) {
echo "mcrypt_module_self_test(MCRYPT_DES) failed
"; } else { echo "mcrypt_module_self_test(MCRYPT_DES) passed
"; } $key = "the password is: xyzzy"; $input = "encrypt this, sucker"; $td = mcrypt_module_open(MCRYPT_DES, "", MCRYPT_MODE_CBC, ""); $ivs = mcrypt_enc_get_iv_size($td); $iv = mcrypt_create_iv($ivs, MCRYPT_RAND); mcrypt_generic_init($td, $key, $iv); if (mcrypt_enc_self_test($td)) { echo "mcrypt_enc_self_test() failed
"; } $enc = mcrypt_generic($td, $input); echo "encrypted data: " . bin2hex($enc) . "
"; $dec = mdecrypt_generic($td, $enc); echo "decrypted data: " . $dec . "
"; echo "algorithm: " . mcrypt_enc_get_algorithms_name($td) . "
"; echo "mode: " . mcrypt_enc_get_modes_name($td) . "
"; echo "block size: " . mcrypt_enc_get_block_size($td) . "
"; echo "key size: " . mcrypt_enc_get_key_size($td) . "
"; $algs = mcrypt_list_algorithms(); $mods = mcrypt_list_modes(); mcrypt_generic_end($td) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9163&edit=2 -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]