The question is whether his herpes was active at that time. If you came in contact with open sores or blisters you are at risk and need to see a doctor.
Read this three page article: http://www.healthcentral.com/genital-herpes/introduction-000052_3-145.html