Please, Please whatever you do, NEVER eat crushed apricot kernals. This poison is currently being touted as a miracle cure for cancer, and was recently pushed onto my son who is undergoing treatment. it is sold by several online merchants (Including Amazon) without any warning, but the truth is it contains a nitrile compound that the body can synethesise into KCN, i.e. Potassium Cyanide which is a potentially toxic form of Cyanide.
The company trying to push this cure onto my son is a multiple Level Marketing organisation (MLM) and the Distributors are not told of this in their training, so do not pass it on to their 'clients'. They peddle it as a health food, and target cancer patients as a priority clientele.
Unfortunately it is not illegal to sell the kernals, and the only recourse is a misselling rap through trading standards against the Independant Distributor, not the company. A few actions have been successful, and one supplier (The Vitamin Service.com) did get closed down in USA.
Walnut kernals are fine, Apricot kernals a definite NO NO.