There is -skeyid option described in the help of the openssl cms command. However the cms application expects -keyid option instead. The attached patch corrects the error in the help.
-- Tomas Mraz No matter how far down the wrong road you've gone, turn back. Turkish proverb
diff -up openssl-1.0.0a/apps/cms.c.keyid openssl-1.0.0a/apps/cms.c --- openssl-1.0.0a/apps/cms.c.keyid 2009-10-18 16:42:26.000000000 +0200 +++ openssl-1.0.0a/apps/cms.c 2010-09-23 16:28:50.000000000 +0200 @@ -618,7 +618,7 @@ int MAIN(int argc, char **argv) BIO_printf (bio_err, "-certsout file certificate output file\n"); BIO_printf (bio_err, "-signer file signer certificate file\n"); BIO_printf (bio_err, "-recip file recipient certificate file for decryption\n"); - BIO_printf (bio_err, "-skeyid use subject key identifier\n"); + BIO_printf (bio_err, "-keyid use subject key identifier\n"); BIO_printf (bio_err, "-in file input file\n"); BIO_printf (bio_err, "-inform arg input format SMIME (default), PEM or DER\n"); BIO_printf (bio_err, "-inkey file input private key (if not signer or recipient)\n");